package com.april.pattern.structural.adapter.classadapter;

import org.junit.jupiter.api.Test;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/04 15:42
 * @description 类适配器的方式
 */
public class ClassAdapterTest {
    @Test
    public void classAdapterTest() {
        Target target = new ConcreteTargetImpl();
        target.request();

        Target adapter = new Adapter();
        adapter.request();
    }
}
